package com.welink.cmp.domain.topotree;

import com.welink.cmp.domain.metadata.Host;
import com.welink.cmp.domain.metadata.Switch;

import java.util.List;
import java.util.Map;

/**
 * @author yanwei li create  2024-06-04 13:29
 */
public interface IDeviceTopoGateway {

    /**
     * 获取下绑定的交换机
     * @param name
     * @return
     */
    public List<Switch> getSwitchNodes(String name);

    /**
     * 获取下绑定的交换机
     * @param name
     * @return
     */
    public List<Host> getHostNodes(String name);
}
